package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.constant.PayConfigUrl;
import com.ocom.common.entity.card.EntityXfMealInfo;
import com.ocom.common.request.payconfig.GetMealDetailListBRequest;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.payconfig.MealDetailBVo;
import com.ocom.payconfig.vo.DeleteMealVo;
import com.ocom.payconfig.vo.MealNameVo;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


public interface XfMealInfoService extends IService<EntityXfMealInfo> {

    //2.1.获取餐段名称信息(getMealNameInfo)
    public List<EntityXfMealInfo> GetMealNameInfo(Integer id, Long comId, String mealNo, String mealName);


    // 2.3.添加餐段名称信息(addMealNameInfo)
    public void AddMealNameInfo(Long comId, String mealNo, String mealName);

    // 2.5.修改餐段名称信息(updateMealNameInfo)
    public void UpdateMealNameInfo(Long id, Long comId,String mealNo,String mealName);

    /**
     * 2.7.删除餐段名称信息(deleteMealNameInfo)
     * */
    public void DeleteMealNameInfo(Long comId, DeleteMealVo deleteMealVo);

    List<EntityXfMealInfo> getMealConsumeReports(Long comId);

    List<MealDetailBVo> getMealDetailListB(Long comId,GetMealDetailListBRequest request);
}
